package com.yx.front.model;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serializable;
import java.util.Date;

/**
 * <p>
 * 字典表
 * </p>
 *
 * @author YangXiong
 * @since 2023-03-25
 */
@Data
@EqualsAndHashCode(callSuper = false)
@TableName("tb_dict_message")
@ApiModel(value="DictMessage对象", description="字典表")
public class DictMessage implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "记录id")
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    @ApiModelProperty(value = "字典名")
    private String name;

    @ApiModelProperty(value = "字典描述")
    private String text;

    @ApiModelProperty(value = "字典类型")
    private String type;

    @ApiModelProperty(value = "字典值")
    private Integer value;

    @ApiModelProperty(value = "是否启用 0未启用，1启用")
    private Integer enable;

    @ApiModelProperty(value = "是否是子节点 0 不是 1 是")
    private Integer isChild;

    @ApiModelProperty(value = "父节点id")
    private Long parentId;

    @ApiModelProperty(value = "备注")
    private String remark;

    @ApiModelProperty(value = "操作人员id")
    private Long operatorId;

    @ApiModelProperty(value = "操作人员姓名")
    private String operatorName;

    @ApiModelProperty(value = "创建时间")
    private Date createTime;

    @ApiModelProperty(value = "修改时间")
    private Date modifyTime;

    @ApiModelProperty(value = "是否删除，0未删，1已删")
    private Integer isDelete;


}
